//
//  XYSearchView.h
//  siwe
//
//  Created by 肖兰月 on 2019/3/5.
//  Copyright © 2019 siwe. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol XYSearchViewDelegate <NSObject>

@optional

- (void)didTap;

- (void) didSearch:(NSString *)search_text;

@end

@interface XYSearchView : UIView
@property (weak, nonatomic) id<XYSearchViewDelegate> delegate;
@property (copy, nonatomic) NSString *placeholder;
- (instancetype)initWithFrame:(CGRect)frame isTap:(BOOL)isTap;
@end

